#pragma once

typedef HRESULT(WINAPI* FnRtlEncodeRemotePointer)(
    IN HANDLE hProcess,
    IN PVOID lpAddress,
    OUT PVOID* lpOutAddress
);

typedef HRESULT(WINAPI* FnRtlDecodeRemotePointer)(
    IN HANDLE hProcess,
    IN PVOID lpAddress,
    OUT PVOID* lpOutAddress
);

typedef BOOL(WINAPI* FnSetProcessValidCallTargets)(
    HANDLE hProcess,
    PVOID lpAddress,
    SIZE_T RegionSize,
    ULONG NumberOfOffsets,
    PCFG_CALL_TARGET_INFO OffsetInformation
);
